#ifndef ARTTRACKING_H
#define ARTTRACKING_H

#include "tracker.h"
#include "trackingdevice.h"
#include "DTrackSDK.hpp"

namespace Tracking
{
	class BodyBase;
	class Body;
	class FlyStick;

class ARTTracking : public TrackingDevice
	{


	public:
		enum BodyType{ 
			BODY=0, FLYSTICK 
		};
		ARTTracking(int port);
		~ARTTracking() {}

		bool init();
		bool update();
		void uninit();


		Body* getBody(int id);
		FlyStick* getFlyStick(int id);

		
	protected:

	private:
		int _port;

		/*DTrack Lib */
		DTrackSDK* _dtrack;

		/*Body's */
		std::vector<BodyBase*> _bodys;

	};
}
#endif